<?php
if ( !defined('IN_ADMINCP') || !defined('IN_SEC') ){
	exit('Access Denied.');
}
$act = $_G['gp_act'];

if( $act == 'get_departments' ){
	jsonp($departments, 'data');
}else if( $act == 'get_groups' ){
	jsonp($groups, 'data');
}

?>